package cn.echase.ecare.yinfayun.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class DiningCodeVo {


    List<String> labelList;

    List<Dependent> dependentList;
    private Integer id;
    private String ucId;
    private String orgId;
    private String orgName;
    private String codeId;
    private String codeName;
    private String codeUrl;
    private String hrefUrl;
    private Integer status;
    private Date addTime;
    private Date updateTime;
    /**
     * 绑定时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date bindTime;

    private String roomName;

    private String bedId;
    private String bedName;
    private String eldName;
    //余额
    private Integer balance;
    private String sex;
    private Integer age;
    private Integer careLevel;
    private Integer longTermCareLevel;

    /**
     * 类型  1 机构 2 居家
     */
    private Integer type;
    /**
     * 居家长者的id
     */
    private String eldId;
    /**
     * 绑定类型
     */
    private Integer bindType;


    @Data
    public static class Dependent {

        private String name;
        private String mobile;
        private String address;
    }

}
